package edu.hubu.talentmanagementsystem.model.ext;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import edu.hubu.talentmanagementsystem.model.Model;

import java.io.Serializable;

/**
 * <p>
 * 职位类别对应表
 * </p>
 *
 * @author moonlan
 * @since 2021-03-13
 */
@TableName("position_small_tag_company_recruitment")
public class PositionSmallTagCompanyRecruitment extends Model<PositionSmallTagCompanyRecruitment> implements Serializable {


    /**
     * 公司招聘职位类别ID
     */
    @TableId(value = "position_small_tag_company_recruitment_id", type = IdType.AUTO)
    private Integer positionSmallTagCompanyRecruitmentId;

    /**
     * 公司招聘类别ID
     */
    @TableField("position_small_tag_id")
    private Integer positionSmallTagId;

    @TableField(exist = false)
    private PositionSmallTag positionSmallTag;

    /**
     * 公司招聘ID
     */
    @TableField("company_recruitment_id")
    private Integer companyRecruitmentId;

    @TableField(exist = false)
    private CompanyRecruitment companyRecruitment;

    public PositionSmallTag getPositionSmallTag() {
        return positionSmallTag;
    }

    public PositionSmallTagCompanyRecruitment setPositionSmallTag(PositionSmallTag positionSmallTag) {
        this.positionSmallTag = positionSmallTag;
        return this;
    }

    public CompanyRecruitment getCompanyRecruitment() {
        return companyRecruitment;
    }

    public PositionSmallTagCompanyRecruitment setCompanyRecruitment(CompanyRecruitment companyRecruitment) {
        this.companyRecruitment = companyRecruitment;
        return this;
    }

    public Integer getPositionSmallTagCompanyRecruitmentId() {
        return positionSmallTagCompanyRecruitmentId;
    }

    public PositionSmallTagCompanyRecruitment setPositionSmallTagCompanyRecruitmentId(Integer positionSmallTagCompanyRecruitmentId) {
        this.positionSmallTagCompanyRecruitmentId = positionSmallTagCompanyRecruitmentId;
        return this;
    }

    public Integer getPositionSmallTagId() {
        return positionSmallTagId;
    }

    public PositionSmallTagCompanyRecruitment setPositionSmallTagId(Integer positionSmallTagId) {
        this.positionSmallTagId = positionSmallTagId;
        return this;
    }

    public Integer getCompanyRecruitmentId() {
        return companyRecruitmentId;
    }

    public PositionSmallTagCompanyRecruitment setCompanyRecruitmentId(Integer companyRecruitmentId) {
        this.companyRecruitmentId = companyRecruitmentId;
        return this;
    }

    @Override
    public String toString() {
        return "PositionSmallTagCompanyRecruitment{" +
                "positionSmallTagCompanyRecruitmentId=" + positionSmallTagCompanyRecruitmentId +
                ", positionSmallTagId=" + positionSmallTagId +
                ", companyRecruitmentId=" + companyRecruitmentId +
                "}";
    }
}
